<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>登录</title>
        <link rel="stylesheet" type="text/css" href="assets/lib/layui/css/layui.css" />
        <link rel="stylesheet" type="text/css" href="assets/css/login.css" />
    </head>
    <body>
        <div class="layui-main">
            <div class="logo">
                <img src="./assets/images/logo.png">
            </div>
            <form class="layui-form" id="login_form" action="">
                <div class="title">

                </div>
                <div class="layui-form-item">

                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" lay-verify="required" autocomplete="off" placeholder="请输入用户名"
                        class="layui-input">
                </div>
                <div class="layui-form-item">

                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" lay-verify="required|password" autocomplete="off"
                        placeholder="请输入密码" class="layui-input password">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="login">登录</button>
                </div>
                <div class="layui-form-item">
                    <a id="register-a">去注册账号</a>
                </div>
            </form>

            <form class="layui-form" id="reg_form" action="" style="display: none;">
                <div class="title">

                </div>
                <div class="layui-form-item">

                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" lay-verify="required" autocomplete="off" placeholder="请输入用户名"
                        class="layui-input username">
                </div>
                <div class="layui-form-item">

                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" lay-verify="required|password" autocomplete="off"
                        placeholder="请输入密码" class="layui-input password1">
                </div>
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" id="repassword" lay-verify="required|repassword|password" autocomplete="off"
                        placeholder="请再次密码" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <button type="button" class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="register">注册</button>
                </div>
                <div class="layui-form-item">
                    <a id="login-a">去登录</a>
                </div>
            </form>
        </div>


        <script type="text/javascript" src="assets/lib/layui/layui.js">

        </script>
        <script src="assets/js/baseUrl.js"></script>
        <script type="text/javascript" src="assets/js/login.js">

        </script>
    </body>
</html>
